﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SISGEZATBZVisual.BusinessEntities;

namespace SISGEZATBZVisual.Repository
{
    public class GradoRepository:MasterRepository,IGradoRepository
    {

        public IEnumerable<Grado> GetGradosByNivelId(int idNivel)
        {
            return Context.Grados.Where(g => g.IdNivel.Equals(idNivel));
        }

    }
}
